package com.um.jdy.common.activity.code;

import com.um.springboot.starter.utils.EnumUtil;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 邓南辉
 * 日期 2023/2/14
 * 版权所有 广州优匠科技有限公司
 */
@Getter
@AllArgsConstructor
public enum ActivityCode implements EnumUtil.ErrorEnum {


    ActivityNotExist(50001,"活动不存在"),
    ActivityExpired(50002,"活动已过期"),
    GroupNotExist(50003,"拼团不存在"),
    GroupStarted(50004,"拼团已拼成"),
    GroupJoined(50005,"已加入该拼团"),
    GroupClosed(50006,"拼团已关闭"),



    ;

    private Integer code;
    private String msg;


}